package com.ruoyi.orderParent.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 批量订单对象 sys_order_parent
 *
 * @author ruoyi
 * @date 2024-06-24
 */
public class SysOrderParent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String number;

    /** 被调人数 */
    @Excel(name = "被调人数")
    private Long cdNumber;

    /** 支付状态 */
    private Long payStatus;

    /** 订单状态 */
    private Long orderStatus;

    /** 订单总金额 */
    @Excel(name = "订单总金额")
    private BigDecimal amount;

    /** 商户id */
    @Excel(name = "商户id")
    private Long storeId;

    /** 代理商id */
    @Excel(name = "代理商id")
    private Long agentId;

    /** 套餐id */
    @Excel(name = "套餐id")
    private Long setmealId;

    /** 商户名称 */
    private String storeName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 部门id */
    private Long deptId;

    private Long status;


    private String agentName;

    private String userName;

    private String packageType;

    private List<Long> deptIds;

    private String orderOutcome;

    private Date beginCreateTime;

    private Date endCreateTime;

    private List<Long> packageList;

    @Excel(name = "单个套餐金额")
    private BigDecimal oneAmount;

    public BigDecimal getOneAmount() {
        return oneAmount;
    }

    public void setOneAmount(BigDecimal oneAmount) {
        this.oneAmount = oneAmount;
    }

    public List<Long> getPackageList() {
        return packageList;
    }

    public void setPackageList(List<Long> packageList) {
        this.packageList = packageList;
    }

    public Date getBeginCreateTime() {
        return beginCreateTime;
    }

    public void setBeginCreateTime(Date beginCreateTime) {
        this.beginCreateTime = beginCreateTime;
    }

    public Date getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(Date endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    public String getOrderOutcome() {
        return orderOutcome;
    }

    public void setOrderOutcome(String orderOutcome) {
        this.orderOutcome = orderOutcome;
    }

    public List<Long> getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(List<Long> deptIds) {
        this.deptIds = deptIds;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    /** $table.subTable.functionName信息 */
    private List<SysOrder> sysOrderList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getNumber()
    {
        return number;
    }
    public void setCdNumber(Long cdNumber)
    {
        this.cdNumber = cdNumber;
    }

    public Long getCdNumber()
    {
        return cdNumber;
    }
    public void setPayStatus(Long payStatus)
    {
        this.payStatus = payStatus;
    }

    public Long getPayStatus()
    {
        return payStatus;
    }
    public void setOrderStatus(Long orderStatus)
    {
        this.orderStatus = orderStatus;
    }

    public Long getOrderStatus()
    {
        return orderStatus;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setAgentId(Long agentId)
    {
        this.agentId = agentId;
    }

    public Long getAgentId()
    {
        return agentId;
    }
    public void setSetmealId(Long setmealId)
    {
        this.setmealId = setmealId;
    }

    public Long getSetmealId()
    {
        return setmealId;
    }
    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public List<SysOrder> getSysOrderList()
    {
        return sysOrderList;
    }

    public void setSysOrderList(List<SysOrder> sysOrderList)
    {
        this.sysOrderList = sysOrderList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("cdNumber", getCdNumber())
            .append("payStatus", getPayStatus())
            .append("orderStatus", getOrderStatus())
            .append("amount", getAmount())
            .append("storeId", getStoreId())
            .append("agentId", getAgentId())
            .append("setmealId", getSetmealId())
            .append("storeName", getStoreName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("sysOrderList", getSysOrderList())
            .toString();
    }
}
